package com.yfp.device.mapper;

import com.yfp.device.domain.MachineExpireWarn;
import com.yfp.device.domain.MachineExpireWarnExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface MachineExpireWarnMapper {
    long countByExample(MachineExpireWarnExample example);

    int deleteByExample(MachineExpireWarnExample example);

    int deleteByPrimaryKey(String warnId);

    int insert(MachineExpireWarn record);

    int insertSelective(MachineExpireWarn record);

    List<MachineExpireWarn> selectByExample(MachineExpireWarnExample example);

    MachineExpireWarn selectByPrimaryKey(String warnId);

    int updateByExampleSelective(@Param("record") MachineExpireWarn record, @Param("example") MachineExpireWarnExample example);

    int updateByExample(@Param("record") MachineExpireWarn record, @Param("example") MachineExpireWarnExample example);

    int updateByPrimaryKeySelective(MachineExpireWarn record);

    int updateByPrimaryKey(MachineExpireWarn record);

    int insertBatch(List<MachineExpireWarn> list);
}